package cate.game.role.farm.forbidden.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdForbidden;

@ClientMsg(title = "我的种族禁地数据 の 请求")
public class ForbiddenDataReq implements MsgInput {

    @Override
    public MsgConfig conf() {
        return MsgIdForbidden.FORBIDDEN_DATA_REQ;
    }

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().sendNow(new ForbiddenDataResp(cc.getRole()));
    }
}
